filePath='C:/Users/tzp/Projects/7-lan/RubyTest/test.rb'
f=File.open(filePath,'r:UTF-8')
puts f.readline
puts "hehe"
f.each {|line| puts line}
puts "haha"
f.rewind
f.each {|line| puts line}
ar=[]
puts nil.to_i
puts nil.to_i + 1
l='xx'
if not ar.find_index l
  puts 'why'
end
log_path='C:/Users/tzp/Download/10067/10000'
log_people=[]
count=[0,0,0]
lf=File.open(log_path, 'r:UTF-8')
lf.each do |line|
  l=line.to_s.strip
  puts l.size
  puts l.length
end
lf.close
puts "log size : #{log_people.size}"
puts count